package com.example.my_test_2.repos;

import com.example.my_test_2.pojo.Purchase;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
//购买接口
public interface PurchaseRepository extends JpaRepository<Purchase, Integer> {
    List<Purchase> findAll();


}
